package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.domain.db.ReportDimension;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface ReportDimensionMapper extends BaseMapper<ReportDimension> {

    @Insert("INSERT INTO tb_report_dimension (report_id, `key`, `value`) VALUES (#{reportId}, #{key}, #{value})")
    void inserTreportDimension(@Param("reportId") int reportId, @Param("key") int key, @Param("value") String value);
}
